package com.voute.Model.Impl;

import com.voute.Api.LoginService;
import com.voute.Model.Bean.LoginInfoBean;
import com.voute.Model.ILoginModel;
import com.voute.Utils.ServiceFactory;

import java.util.HashMap;

import rx.Observable;

/**
 * 登录Model接口实现类
 * Created by liucxu on 2017/1/17.
 */

public class LoginModelImpl implements ILoginModel {
    @Override
    public Observable<LoginInfoBean> login(HashMap<String, String> values) {
        return ServiceFactory.GetInstance().createService(LoginService.class).login(values);
    }
}
